(define (maxSum a b c)
	(cond ((> a b c) (+ a b))
	      ((> a c b) (+ a c))
		  ((> b a c) (+ b a))
		  ((> b c a) (+ b c))
		  ((> c a b) (+ c a))
		  ((> c b a) (+ c b))))


(define (maxSum a b c)
	(cond (> a b) (cond (> b c) (+ a b)
				        (else (+ a c))
		  (else (cond (> a c) (+ b a)
		  		      (else (+b c)))))))
					  	  
(define (maxSum a b c)
	(if (> a b) (if (> b c) (+ a b)))
	
	
(define (maxSum a b c)
	(if (> a b) (if (> b c) 
					(+ a b)
				    (+ a c))
		(if (> a c) 
			(+ b a))
		    (+ b c)))
            
            
(define (m-sum a b c)
        (cond ((and (< a b) (< a c)) (+ b c))
              ((and (< b a) (< b c)) (+ a c))
              (else (+ a b))))